import { pubRequire } from '@utils/public'
const baseUrl = '/terminologies/share'
// 获取列表
export function getSearchList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}`, params, callBack, errBack)
}
// 删除单个
export function deleteSingleRequest(ids, callBack, errBack) {
  return pubRequire('delete', `${baseUrl}/${ids}`, '', callBack, errBack)
}
// 删除多个
export function deleteMultRequest(params, callBack, errBack) {
  return pubRequire('delete', `${baseUrl}`, params, callBack, errBack)
}
//导入接口
export function importUrl() {
  return `${baseUrl}/import`
}
//下载模板接口
export function downUrl() {
  return `${baseUrl}/download`
}
// 添加分享语
export function addShareWordRequest(params, callBack, errBack) {
  return pubRequire('post', `${baseUrl}`, params, callBack, errBack)
}
